<!--
 * @Author: 梁青春
 * @Date: 2025-11-06 10:50:10
 * @LastEditTime: 2025-11-06 11:18:58
 * @LastEditors: 梁青春
-->
<template>
  <div class="a4">
    <header>××医院 住院病历</header>
    <section>
      <p>姓名：{{ data.name }} 性别：{{ data.gender }} 年龄：{{ data.age }}</p>
      <p>入院诊断：{{ data.diagnosis }}</p>
      <p>病程记录：</p>
      <pre>{{ data.content }}</pre>
    </section>
  </div>
</template>

<style scoped>
.a4 {
  padding: 20mm;
}
header {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10mm;
}
pre {
  white-space: pre-wrap;
  font-family: inherit;
}
</style>
